//
//  SEGEditAdressViewModel.h
//  SEGViewModel
//
//  Created by 乔杨 on 2020/6/9.
//

#import <Foundation/Foundation.h>
#import "SEGMyManager.h"

NS_ASSUME_NONNULL_BEGIN

@interface SEGEditAdressViewModel : NSObject

/// 删除地址信号
@property (nonatomic, strong) RACCommand *deleteAddressCommand;
/// 保存地址信号
@property (nonatomic, strong) RACCommand *updateAddressCommand;
/// 请求Manager
@property (nonatomic, strong) SEGMyManager *myManager;
/// 列表数据
@property (nonatomic, copy) NSArray *dataSourceArr;

/// 初始化, dataSourceArr数据需要通过以下参数获取
- (instancetype)initWithShowType:(EditAdressShowType)showType addressModel:(SEGAddressModel *)model;

@end

NS_ASSUME_NONNULL_END
